#ifndef PIXITEM_H
#define PIXITEM_H
#include<QGraphicsItem>
#include<QPixmap>
#include<QPainter>

class PixItem : public QGraphicsItem
{
public:
    PixItem(QPixmap *pix);

public:
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);

    QRectF boundingRect()const;
private:
    QPixmap pixmap;




};

#endif // PIXITEM_H
